home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gWhichSound1, gBassStop
- set the volume of sound 12 to 0
- set WhichBass to the clickOn
- if the foreColor of sprite WhichBass = 226 then
- set the foreColor of sprite WhichBass to 255
- sound stop 1
- set gBassStop to 1
- exit
- end if
- set gWhichSound1 to WhichBass - 41
- repeat with i = 42 to 44
- puppetSprite(i, 1)
- end repeat
- repeat with i = 42 to 44
- set the foreColor of sprite i to 255
- end repeat
- set the foreColor of sprite WhichBass to 226
- set gBassStop to 0
- updateStage()
- set gWhichSound1 to getpn() & "Sounds:Bass" & gWhichSound1 & ".aif"
- sound playFile 1, gWhichSound1
- end
-